package mirfordevoservice.config_entity.mirproperty;

/**
 * Created by Heart!
 *
 * @Author ZhangChaoJian
 * @Date 2018/3/17.20:29
 * Wants More Then Try Hard More!
 */
public class MirProperty {
    private int min_Phydef;//最小物防
    private int max_Phydef;
    private int min_Mdef;//最小魔防
    private int max_Mdef;
    private int min_ATK;//最小攻击
    private int max_ATK;
    private int min_MAGIC;//最小魔法
    private int max_MAGIC;
    private int min_TAOIS;//最小道术
    private int max_TAOIS;

    /**
     * 通过配置字段获取属性
     *
     * @param mirProperty
     */
    public MirProperty getMirPropertyByAarrys(String[] mirProperty) {
        MirProperty mirPropertys = new MirProperty();
        mirPropertys.min_Phydef = Integer.valueOf(mirProperty[10]);
        mirPropertys.max_Phydef = Integer.valueOf(mirProperty[11]);
        mirPropertys.min_Mdef = Integer.valueOf(mirProperty[12]);
        mirPropertys.max_Mdef = Integer.valueOf(mirProperty[13]);
        mirPropertys.min_ATK = Integer.valueOf(mirProperty[14]);
        mirPropertys.max_ATK = Integer.valueOf(mirProperty[15]);
        mirPropertys.min_MAGIC = Integer.valueOf(mirProperty[16]);
        mirPropertys.max_MAGIC = Integer.valueOf(mirProperty[17]);
        mirPropertys.min_TAOIS = Integer.valueOf(mirProperty[18]);
        mirPropertys.max_TAOIS = Integer.valueOf(mirProperty[19]);
        return mirPropertys;
    }

    public int getMin_Phydef() {
        return min_Phydef;
    }

    public void setMin_Phydef(int min_Phydef) {
        this.min_Phydef = min_Phydef;
    }

    public int getMax_Phydef() {
        return max_Phydef;
    }

    public void setMax_Phydef(int max_Phydef) {
        this.max_Phydef = max_Phydef;
    }

    public int getMin_Mdef() {
        return min_Mdef;
    }

    public void setMin_Mdef(int min_Mdef) {
        this.min_Mdef = min_Mdef;
    }

    public int getMax_Mdef() {
        return max_Mdef;
    }

    public void setMax_Mdef(int max_Mdef) {
        this.max_Mdef = max_Mdef;
    }

    public int getMin_ATK() {
        return min_ATK;
    }

    public void setMin_ATK(int min_ATK) {
        this.min_ATK = min_ATK;
    }

    public int getMax_ATK() {
        return max_ATK;
    }

    public void setMax_ATK(int max_ATK) {
        this.max_ATK = max_ATK;
    }

    public int getMin_MAGIC() {
        return min_MAGIC;
    }

    public void setMin_MAGIC(int min_MAGIC) {
        this.min_MAGIC = min_MAGIC;
    }

    public int getMax_MAGIC() {
        return max_MAGIC;
    }

    public void setMax_MAGIC(int max_MAGIC) {
        this.max_MAGIC = max_MAGIC;
    }

    public int getMin_TAOIS() {
        return min_TAOIS;
    }

    public void setMin_TAOIS(int min_TAOIS) {
        this.min_TAOIS = min_TAOIS;
    }

    public int getMax_TAOIS() {
        return max_TAOIS;
    }

    public void setMax_TAOIS(int max_TAOIS) {
        this.max_TAOIS = max_TAOIS;
    }
}
